/**
 * 
 */
package src.messagesToClient;

import src.clientSide.MessageIn;
import src.dataStructures.Data;

/**
 * This class sends a data object to the user
 * @author John Stewart
 */
public class GiveData extends MessageToClient {
	Data data;
	
	public GiveData(Data data) {
		this.data = data;
	}
	
	@Override
	public void execute() {
		MessageIn.giveData(data);
	}

}
